<template>
	<div>
		<orderCharge v-if='orderType == 1' v-on:toggle='orderType = $event'></orderCharge>
		<orderRecharge v-if='orderType == 2' v-on:toggle='orderType = $event'></orderRecharge>
	</div>
</template>

<script>
	import orderCharge from './order_charge.vue'
	import orderRecharge from './order_recharge.vue'
	export default {
		data() {
			return {
				orderType : 1
			}
		},
		components : {
			orderCharge,
			orderRecharge
		}
	}
</script>

<style>

</style>
